<?xml version='1.0' encoding='ISO-8859-1' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title><h:outputText  value="#{msg.empresa}" /></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <h:outputStylesheet library="css" name="estilo.css"/>
    </h:head>
    <h:body >
        <p:layout fullPage="true" >
            <!-- encabezado -->
            <p:layoutUnit styleClass="north" position="north">
                <h:outputText styleClass="banner" value="Bienvenidos a #{msg.empresa} " />                  
            </p:layoutUnit>
            <!-- lado izquierdo -->
            <p:layoutUnit position="west" size="300"
                          closable="false" collapsible="false"  effect="drop" styleClass="tituloWest">
                <ui:insert name="west"> 
                    <div>
                        <ui:include src="/WEB-INF/facelets/templates/acceso.xhtml" /><br/>
                    </div>
                    <div >
                        <ui:include src="/WEB-INF/facelets/templates/logeado.xhtml" />
                    </div><br/>
                    <panel>
                        <ui:include src="/WEB-INF/facelets/menu/menu_administrador.xhtml" /><br/>                    
                    </panel>                    
                </ui:insert>
            </p:layoutUnit>
            <!-- centro -->
            <p:layoutUnit position="center">
                <div>
                    <ui:include src="/WEB-INF/facelets/menu/menu_superior.xhtml" />
                </div><br/>
                <ui:insert name="center">  
                    
                </ui:insert>
            </p:layoutUnit>
            <!-- pie de pagina -->
            <p:layoutUnit position="south" styleClass="piePagina">
                <h:outputText styleClass="piePagina" value="#{msg.derechos} - #{msg.autores}" />
            </p:layoutUnit>
        </p:layout>
    </h:body>
</html>